package top.moxingwang.javawork.concurrent;

import java.util.concurrent.locks.StampedLock;

public class StampedLockTest {
    public static void main(String[] args) {
        StampedLock stampedLock = new StampedLock();
        long l = stampedLock.tryOptimisticRead();
        stampedLock.unlockRead(l);
    }
}
